<!DOCTYPE HTML>
<html>

<head>
    <title>部门盘点</title>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="./css/formlist.css" />
    <link rel="stylesheet" type="text/css" href="../css/comm.css" />
    <link rel="stylesheet" type="text/css" href="./css/chooselocation.css" />
    <style>
        .topBtn {
            float: right;
        }

        .topBtn label {
            display: inline-block;
            margin-bottom: 5px;
            font-size: 0.6rem;
            text-align: center;
            padding: 2px 6px 1px 6px;
            border-radius: 2px;
        }

        .pdcount {
            padding-right: 15px;
            font-size: 0.6rem;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="aui-content">
            <ul class="aui-list">
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label auto">
                            盘点单号：
                        </div>
                        <div class="aui-list-item-input auto">
                            <span>{{form.Code}}</span>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item" v-if="form.ID!=0">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label auto">
                            盘点状态：
                        </div>
                        <div class="aui-list-item-input auto">
                            <span v-html="covertstatus(form.Status)"></span>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            <i class="red">*</i>盘点单名称：
                        </div>
                        <div class="aui-list-item-input">
                            <span>{{form.Title}}</span>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            <i class="red">*</i>计划开始日期：
                        </div>
                        <div class="aui-list-item-input">
                            <span>{{form.FromDateDesc}}</span>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            计划截止日期：
                        </div>
                        <div class="aui-list-item-input">
                            <span>{{form.ToDateDesc}}</span>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            盘点公司：
                        </div>
                        <div class="aui-list-item-input">
                            <label>{{form.DeptNames}}</label>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            盘点分类：
                        </div>
                        <div class="aui-list-item-input">
                            <label>{{form.TypeTitles}}</label>
                        </div>
                    </div>
                </li>
                <li class="aui-list-item">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-label">
                            备注：
                        </div>
                        <div class="aui-list-item-input">
                            <span>{{form.Content}}</span>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
        <div class="choose-title">
            选择部门：
        </div>
        <div class="aui-searchbar" id="search">
            <div class="aui-searchbar-input aui-border-radius">
                <i class="aui-iconfont aui-icon-search"></i>
                <input type="search" placeholder="请输入关键字" id="search-input" onkeypress="doEnterSearchKey()">
                <div class="aui-searchbar-clear-btn">
                    <i class="aui-iconfont aui-icon-close"></i>
                </div>
            </div>
            <div class="aui-searchbar-btn" tapmode></div>
        </div>
        <div class="aui-content pb60" v-if="list.length>0">
            <ul class="aui-list aui-list-in">
                <li class="aui-list-item aui-list-item-middle" v-for="item in list">
                    <div class="aui-list-item-inner aui-list-item-arrow" v-on:click="do_start_pandian(item)">
                        {{item.name}}
                        <div class="pdcount">
                            <span>已盘:{{item.ypCount}}</span>
                            <span>未盘:{{item.npCount}}</span>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
        <footer class="aui-bar aui-bar-tab" id="footer">
            <div class="aui-bar-tab-item">
                <label class="">点击部门开始盘点</label>
            </div>
        </footer>
    </div>
</body>

<script type="text/javascript" src="../script/api.js "></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js "></script>
<script type="text/javascript" src="../script/common.js "></script>
<script type="text/javascript" src="js/pandiantaskdepartment.js "></script>

</html>
